﻿using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{
    /// <summary>
    /// 权限
    /// </summary>
    [DataContract]
    public class Permission
    {        
        /// <summary>
        /// 获取或设置权限类型
        /// </summary>
        [DataMember]
        public PermissionType Type { get; set; }

        /// <summary>
        /// 获取或设置继承类型
        /// </summary>
        [DataMember]
        public PermissionInheritance Inheritance { get; set; }
    }
}
